namespace SilenthinkContract.Domain
{
    /// <summary>
    /// 订单类别
    /// </summary>
    public enum OrderCategory
    {
        Normal = 0,
        Auction = 1
    }
    /// <summary>
    /// 订单状态
    /// </summary>
    public enum OrderStatus
    {
        /// <summary>
        /// 待处理
        /// </summary>
        Pending = 0,
        /// <summary>
        /// 处理中
        /// </summary>
        Processing = 1,
        /// <summary>
        /// 已完成
        /// </summary>
        Complete = 2,
        /// <summary>
        /// 已取消
        /// </summary>
        Cancelled = 3,
        /// <summary>
        /// 已过期
        /// </summary>
        Expired = 4,
        /// <summary>
        /// 已删除
        /// </summary>
        Deleted
    }

    /// <summary>
    /// 支付状态
    /// </summary>
    public enum PaymentStatus
    {
        /// <summary>
        /// 待支付
        /// </summary>
        Pending = 0,

        /// <summary>
        /// 已部分支付
        /// </summary>
        PartiallyPaid = 1,

        /// <summary>
        /// 经授权的
        /// </summary>
        //Authorized = 1,

        /// <summary>
        /// 已支付
        /// </summary>
        Paid = 2,
        /// <summary>
        /// 已部分退款
        /// </summary>
        PartiallyRefunded = 3,
        /// <summary>
        /// 已退款
        /// </summary>
        Refunded = 4,
        /// <summary>
        /// 系统废弃
        /// </summary>
        Voided = 5,
        /// <summary>
        /// 用户取消
        /// </summary>
        Canceled = 6,
        /// <summary>
        /// 已删除
        /// </summary>
        Deleted = 7
    }

    /// <summary>
    /// 发货状态
    /// </summary>
    public enum ShippingStatus
    {
        /// <summary>
        /// 不需要发货
        /// </summary>
        NotRequired = 0,
        /// <summary>
        /// 等待发货
        /// </summary>
        NotYetShipped = 1,
        /// <summary>
        /// 已发货
        /// </summary>
        Shipped = 2,
        /// <summary>
        /// 已送达
        /// </summary>
        Delivered = 3,
    }

}